C1.C1Preview Namespace : C1PrintDocument Class |
For a list of all members of this type, see C1PrintDocument members.
Name | Description | |
---|---|---|
AddAnchor | Overloaded. Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document. Can be used only if C1PrintDocument.IsStartEndDocMode is true. | |
AdvanceBlockFlow | Advances the current block flow position by the specified distance. | |
CanRenderBlock | Indicates whether rendering in the block flow is permitted now. | |
CanRenderDirect | Indicates whether direct rendering is permitted now. | |
Clear | Clears the current document, sets all properties to their default values. | |
ClearGeneratedPages | Clears the pages and other info created during document generation. This method does not clear the document structure/content though. | |
ConvertUnit | Overloaded. Converts an absolute Unit value to the specified measurement units (this overload cannot convert to pixels). | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose() | (Inherited from System.ComponentModel.Component) | |
EditTags | Shows the tags input dialog, allows the user to enter/update the values of Tag objects contained in the C1PrintDocument.Tags collection. | |
EndDoc | Finishes generation of a document. | |
Export | Overloaded. Exports the document to a disk file. | |
FindAnchor | Searches for an C1Anchor with the specified C1Anchor.Name in the current document. | |
FindInputFragment | Searches for the first occurrence of a RenderInputFragment object in the current document. | |
FromC1Report | Creates a new instance of the C1PrintDocument class representing the specified C1.C1Report.C1Report. | |
FromFile | Overloaded. Creates a new instance of the C1PrintDocument class, and loads the document from the specified file. The persistence format (C1DocumentFormatEnum.C1d or C1DocumentFormatEnum.C1dx) is determinated by the file extension. If the format cannot be determined by the extension, the C1DocumentFormatEnum.C1d format is used. | |
FromRdl | Creates a new instance of the C1PrintDocument class, and imports a RDL report definition into created document. | |
FromRU | Overloaded. Converts a double value expressed in the current document's C1PrintDocument.ResolvedUnit units to other UnitTypeEnum units. | |
FromStream | Overloaded. Creates a new instance of C1PrintDocument class, and loads the document from the specified stream. | |
Generate | Overloaded. Generates the current document, using the RefreshModeEnum.RefreshCalculatedValues refresh mode. | |
GetLengthAbsValue | Overloaded. Converts an absolute length represented by a LengthAbs object to a double value expressed in the current document's C1PrintDocument.ResolvedUnit units. | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
HasEditableTags | Checks whether the document contains any tags that can be entered or changed in the tags input dialog. | |
ImportC1Report | Imports a C1.C1Report.C1Report report definition into the current document. | |
ImportRdl | Imports a RDL report definition into the current document. | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
IsInlineStarted | Indicates whether an inline paragraph is currently being created on the document. | |
Load | Overloaded. Loads the current document from a stream. The stream should contain a document in C1DocumentFormatEnum.C1d format. | |
NewColumn | Begins a new column. If the current column is the last on the page then a new page will be started. Note that AllowNonReflowableDocs property on the document must be set to true for this method to work; otherwise, an exception will occur. | |
NewLine | Begins a new line in inline flow, can be used only if current stacking is inline flow. Note that AllowNonReflowableDocs property on the document must be set to true for this method to work; otherwise, an exception will occur. | |
NewPage | Overloaded. Creates a new page and adds it to the document. Note that C1PrintDocument.AllowNonReflowableDocs property on the document must be set to true for this method to work; otherwise, an exception will occur. | |
PageAsMetafile | Returns a System.Drawing.Imaging.Metafile representing the specified page. | |
Overloaded. Prints the current document with default printer settings, not showing the print progress dialog. | ||
PrintDialog | Overloaded. Shows the standard print dialog, allowing the user to print the current document. | |
Reflow | Reflows the current document. If a handler has been assigned to the C1PrintDocument.GenerateDocument event, that handler is invoked. Otherwise, the C1PrintDocument.Generate method is called. | |
RenderBlock | Adds a RenderObject into the block flow of the current document, and resolves it.
This method can only be used if C1PrintDocument.IsStartEndDocMode is true. | |
RenderBlockArc | Overloaded. Renders an arc into the block flow of the current document. | |
RenderBlockEllipse | Overloaded. Renders an ellipse into the block flow of the current document. | |
RenderBlockGraphicsBegin | Creates an internally maintained RenderGraphics object that can be used to add graphics to the block flow of the current document. | |
RenderBlockGraphicsEnd | Adds the internally maintained RenderGraphics object created with a previous call to C1PrintDocument.RenderBlockGraphicsBegin to the block flow of the current document. | |
RenderBlockHorzLine | Renders a horizontal line with the specified width, starting at the left of the page, into the block flow of the current document. | |
RenderBlockImage | Overloaded. Renders the Image. | |
RenderBlockPie | Overloaded. Renders a pie into the block flow of the current document. | |
RenderBlockRectangle | Overloaded. Renders a rectangle into the block flow of the current document. | |
RenderBlockRichText | Overloaded. Renders the RTF text. | |
RenderBlockText | Overloaded. Renders a block of text into the block flow of the current document, using the specified horizontal alignment. | |
RenderBlockVertLine | Renders a vertical line with the specified height, starting at the current position, into the block flow of the current document. | |
RenderDirect | Overloaded. Adds a RenderObject to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.
This method can only be used if C1PrintDocument.IsStartEndDocMode is true. | |
RenderDirectArc | Overloaded. Adds an arc to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectEllipse | Overloaded. Adds an ellipse to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectGraphicsBegin | Creates an internally maintained RenderGraphics object that can be used to add graphics at a specific position to the C1PrintDocument.Body of the document on the current page. | |
RenderDirectGraphicsEnd | Renders the internally maintained RenderGraphics object created with a previous call to C1PrintDocument.RenderDirectGraphicsBegin onto the current page of the document. | |
RenderDirectImage | Overloaded. Adds an System.Drawing.Image to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectLine | Overloaded. Adds a line to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectPie | Overloaded. Adds a pie to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectPolygon | Overloaded. Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates. | |
RenderDirectRectangle | Overloaded. Adds a rectangle to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectRichText | Overloaded. Adds an RTF-formatted string to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderDirectText | Overloaded. Adds a text to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it. | |
RenderInline | Renders a ParagraphObject into the current inline paragraph. | |
RenderInlineBegin | Begins rendering of a new inline paragraph into the C1PrintDocument.Body of the current document, using the specified C1PrintDocument.Style and dimensions. | |
RenderInlineEnd | Ends rendering of the current inline paragraph. | |
RenderInlineImage | Overloaded. Renders an System.Drawing.Image into the current inline paragraph. | |
RenderInlineText | Overloaded. Renders a string into the current inline paragraph, using the specified style. | |
Save | Overloaded. Saves the current document to a disk file. The persistense format (C1DocumentFormatEnum.C1d or C1DocumentFormatEnum.C1dx) is determined by the specified file extension. The save format defaults to C1DocumentFormatEnum.C1d if the format cannot be determined from the extension. | |
SelectBestMeasurementDevice | Selects a device to use for C1PrintDocument.MeasurementGraphics. This method looks for a printer with a "square" resolution (i.e. with the same horizontal and vertical DPI) equal to or larger than 300 DPI. If such a printer is found, it is assigned to C1PrintDocument.MeasurementPrinterName, and C1PrintDocument.MeasurementDevice is set to MeasurementDeviceEnum.Printer. Otherwise, C1PrintDocument.MeasurementDevice is set to MeasurementDeviceEnum.Screen. The selected device's resolution is returned by C1PrintDocument.MeasurementDpi. | |
StartDoc | Starts a new document. | |
ToRU | Overloaded. Converts a double value expressed in specified UnitTypeEnum units to a double value expressed in the current document's C1PrintDocument.ResolvedUnit units. | |
ToString | (Inherited from System.ComponentModel.Component) |