The C1PrintDocument type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddAnchor(String) |
Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document.
Can be used only if IsStartEndDocMode is true.
This method is equivalent to AddAnchor(String, String, Object) with the last two parameters (description and user data) specified as null values. |
|
AddAnchor(String, String) |
Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document.
Can be used only if IsStartEndDocMode is true.
This method is equivalent to AddAnchor(String, String, Object) with the last parameter (user data) specified as null value. |
|
AddAnchor(String, String, Object) |
Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document.
Can be used only if 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(Unit, UnitTypeEnum) |
Converts an absolute Unit value to the specified measurement units
(this overload cannot convert to pixels).
|
|
ConvertUnit(Unit, UnitTypeEnum, Single) |
Converts an absolute Unit value to the specified measurement units.
|
|
EditTags | ||
EndDoc |
Finishes generation of a document.
|
|
Export(String) |
Exports the document to a disk file.
|
|
Export(Stream, ExportProvider) |
Exports the document to a stream.
|
|
Export(String, Boolean) |
Exports the document to a disk file.
|
|
Export(Stream, ExportProvider, Boolean) |
Exports the document to a stream.
|
|
Export(String, OutputRange, Boolean) |
Exports the document to a disk file.
|
|
Export(Stream, ExportProvider, OutputRange, Boolean) |
Exports the document to a stream.
|
|
Export(String, ExportProvider, OutputRange, Boolean) |
Exports the document to a disk file.
|
|
FindAnchor | ||
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 C1Report.
|
|
FromRdl | Obsolete.
Creates a new instance of the C1PrintDocument class,
and imports a RDL report definition into created document.
|
|
FromRU(Double, UnitTypeEnum) |
Converts a double value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units,
using CreationDpi resolution if destType is Pixel.
|
|
FromRU(OffsetsD, UnitTypeEnum) |
Converts a OffsetsD value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units,
using CreationDpi resolution if destType is Pixel.
|
|
FromRU(RectangleD, UnitTypeEnum) |
Converts a RectangleD value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units,
using CreationDpi resolution if destType is Pixel.
|
|
FromRU(Double, UnitTypeEnum, Single) |
Converts a double value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units.
|
|
FromRU(Double, Single, Boolean) |
Converts a double value expressed in the current document's ResolvedUnit units
to Pixel units with resolution specified by destDpi.
Depending on the truncate parameter, the converted value is either simply truncated, or rounded (slower but more precise). |
|
FromRU(Region, UnitTypeEnum, Single, Single) |
Transforms (scales) a Region object expressed in the current document's ResolvedUnit units
so that it uses other UnitTypeEnum units.
|
|
FromRU(OffsetsD, UnitTypeEnum, Single, Single) |
Converts a OffsetsD value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units.
|
|
FromRU(OffsetsD, Single, Single, Boolean) |
Converts a OffsetsD value expressed in the current document's ResolvedUnit units
to a Rectangle structure expressed in Pixel units,
using the specified resolution.
Depending on the truncate parameter, the converted value is either simply truncated, or rounded (slower but more precise). |
|
FromRU(PointD, UnitTypeEnum, Single, Single) |
Converts a PointD value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units.
|
|
FromRU(RectangleD, UnitTypeEnum, Single, Single) |
Converts a RectangleD value expressed in the current document's ResolvedUnit units
to other UnitTypeEnum units.
|
|
FromRU(RectangleD, Single, Single, Boolean) |
Converts a RectangleD value expressed in the current document's ResolvedUnit units
to a Rectangle structure expressed in Pixel units,
using the specified resolution.
Depending on the truncate parameter, the converted value is either simply truncated, or rounded (slower but more precise). |
|
Generate()()()() |
Generates the current document,
using the RefreshCalculatedValues refresh mode.
|
|
Generate(RefreshModeEnum) |
Generates the current document.
Depending on the specified refresh mode, may update data-bound and calculated values.
|
|
GetLengthAbsValue(LengthAbs, Font) |
Converts an absolute length represented by a LengthAbs object
to a double value expressed in the current document's ResolvedUnit units.
|
|
GetLengthAbsValue(LengthAbs, Style, IScriptContext) |
Converts an absolute length represented by a LengthAbs object
to a double value expressed in the current document's ResolvedUnit units.
|
|
HasEditableTags |
Checks whether the document contains any tags that can be entered or changed in the tags input dialog.
|
|
ImportC1Report |
Imports a C1Report report definition into the current document.
|
|
ImportRdl | Obsolete.
Imports a RDL report definition into the current document.
|
|
IsInlineStarted |
Indicates whether an inline paragraph is currently being created on the document.
|
|
Load(Stream) |
Loads the current document from a stream.
The stream should contain a document in C1d format.
|
|
Load(String) | ||
Load(Stream, C1DocumentFormatEnum) |
Loads the current document from a stream.
|
|
Load(String, C1DocumentFormatEnum) |
Loads the current document from a file.
|
|
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()()()() |
Creates a new page and adds it to the document.
|
|
NewPage(PageLayout) |
Creates a new page and adds it to the document.
|
|
NewPage(PageLayout, PageDirectionEnum) |
Creates a new page and adds it to the document.
Note that AllowNonReflowableDocs property on the document must be set to true
for this method to work; otherwise, an exception will occur.
|
|
PageAsMetafile |
Returns a Metafile representing the specified page.
|
|
Print()()()() |
Prints the current document with default printer settings,
not showing the print progress dialog.
|
|
Print(PrinterSettings) |
Prints the current document with specified printer settings,
not showing the print progress dialog.
|
|
Print(PrinterSettings, OutputRange) |
Prints a range of pages of the current document with specified printer settings,
not showing the print progress dialog.
|
|
Print(PrinterSettings, Boolean) |
Prints the document with specified printer settings,
optionally showing the print progress dialog.
|
|
Print(PrinterSettings, OutputRange, Boolean) |
Prints a range of pages of the current document with specified printer settings,
optionally showing the print progress dialog.
|
|
Print(PrinterSettings, PageSettings, OutputRange) |
Prints a range of pages of the current document with specified printer and default page settings,
not showing the print progress dialog.
|
|
Print(PrinterSettings, PageSettings, Boolean) |
Prints the current document with specified printer and default page settings,
optionally showing the print progress dialog.
|
|
Print(PrinterSettings, PageSettings, OutputRange, Boolean) |
Prints a range of pages of the current document with specified printer and default page settings,
optionally showing the print progress dialog.
|
|
PrintDialog()()()() |
Shows the standard print dialog, allowing the user to print the current document.
|
|
PrintDialog(PrinterSettings, array<Int32>[]()[][], Boolean) |
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 GenerateDocument event, that handler is invoked.
Otherwise, the 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 IsStartEndDocMode is true. |
|
RenderBlockArc(Unit, Unit, Single, Single, LineDef) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockArc(Unit, Unit, Single, Single, Style) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockArc(Unit, Unit, Single, Single, LineDef, Brush) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockArc(Unit, Unit, Single, Single, LineDef, Color) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockArc(Unit, Unit, Single, Single, Color, Unit) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockArc(Unit, Unit, Single, Single, Color, Unit, Color) |
Renders an arc into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, LineDef) |
Renders an ellipse into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, Style) |
Renders an ellipse into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, LineDef, Brush) |
Renders an ellipse into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, LineDef, Color) |
Renders an ellipse into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, Color, Unit) |
Renders an ellipse into the block flow of the current document.
|
|
RenderBlockEllipse(Unit, Unit, Color, Unit, Color) |
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 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(Image) |
Renders the Image.
|
|
RenderBlockImage(Image, Object, Object, ImageAlign) |
Renders the Image.
|
|
RenderBlockImage(Image, Object, Object, Style) |
Renders the Image.
|
|
RenderBlockPie(Unit, Unit, Single, Single, LineDef) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockPie(Unit, Unit, Single, Single, Style) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockPie(Unit, Unit, Single, Single, LineDef, Brush) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockPie(Unit, Unit, Single, Single, LineDef, Color) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockPie(Unit, Unit, Single, Single, Color, Unit) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockPie(Unit, Unit, Single, Single, Color, Unit, Color) |
Renders a pie into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, LineDef) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, Style) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, LineDef, Brush) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, LineDef, Color) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, Color, Unit) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRectangle(Unit, Unit, Color, Unit, Color) |
Renders a rectangle into the block flow of the current document.
|
|
RenderBlockRichText(String) |
Renders the RTF text with parent width and autoheight.
|
|
RenderBlockRichText(String, Object) |
Renders the RTF text with autoheight.
|
|
RenderBlockRichText(String, Object, Object, Style) |
Renders the RTF text.
|
|
RenderBlockText(String) |
Renders a block of text into the block flow of the current document.
|
|
RenderBlockText(String, AlignHorzEnum) |
Renders a block of text into the block flow of the current document,
using the specified horizontal alignment.
|
|
RenderBlockText(String, Style) |
Renders a block of text into the block flow of the current document,
using the specified Style.
|
|
RenderBlockText(String, Color) |
Renders a block of text into the block flow of the current document,
using the specified text color.
|
|
RenderBlockText(String, Font) |
Renders a block of text into the block flow of the current document,
using the specified font.
|
|
RenderBlockText(String, Font, AlignHorzEnum) |
Renders a block of text into the block flow of the current document,
using the specified font and horizontal alignment.
|
|
RenderBlockText(String, Font, Color) |
Renders a block of text into the block flow of the current document,
using the specified font and text color.
|
|
RenderBlockText(String, Font, Color, AlignHorzEnum) |
Renders a block of text into the block flow of the current document,
using the specified font, text color and horizontal alignment.
|
|
RenderBlockText(String, Object, Object, Style) |
Renders a block of text with the specifed width and height
into the block flow of the current document,
using the specified Style.
|
|
RenderBlockVertLine |
Renders a vertical line with the specified height, starting at the current position,
into the block flow of the current document.
|
|
RenderDirect(Unit, Unit, RenderObject) |
Adds a RenderObject to the Body of the current document
at a specific position on the current page, and resolves it.
This method can only be used if IsStartEndDocMode is true. |
|
RenderDirect(Unit, Unit, RenderObject, Object, Object) |
Adds a RenderObject to the Body of the current document
at a specific position on the current page, and resolves it.
This method can only be used if IsStartEndDocMode is true. |
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, LineDef) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, Style) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, LineDef, Brush) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, LineDef, Color) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, Color, Unit) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectArc(Unit, Unit, Unit, Unit, Single, Single, Color, Unit, Color) |
Adds an arc to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, LineDef) |
Adds an ellipse to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, Style) |
Adds an ellipse to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, LineDef, Brush) |
Adds an ellipse to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, LineDef, Color) |
Adds an ellipse to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, Color, Unit) |
Adds an ellipse to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectEllipse(Unit, Unit, Unit, Unit, Color, Unit, Color) |
Adds an ellipse to the 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 Body
of the document on the current page.
|
|
RenderDirectGraphicsEnd |
Renders the internally maintained RenderGraphics object
created with a previous call to RenderDirectGraphicsBegin(Unit, Unit)
onto the current page of the document.
|
|
RenderDirectImage(Unit, Unit, Image) | ||
RenderDirectImage(Unit, Unit, Image, Object, Object, ImageAlign) | ||
RenderDirectImage(Unit, Unit, Image, Object, Object, Style) | ||
RenderDirectLine(Unit, Unit, Unit, Unit, LineDef) |
Adds a line to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectLine(Unit, Unit, Unit, Unit, Color, Unit) |
Adds a line to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, LineDef) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, Style) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, LineDef, Brush) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, LineDef, Color) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, Color, Unit) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPie(Unit, Unit, Unit, Unit, Single, Single, Color, Unit, Color) |
Adds a pie to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectPolygon(IEnumerable, LineDef) |
Creates an open RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
|
|
RenderDirectPolygon(IEnumerable, LineDef, Brush) |
Creates a RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
If fillBrush is null, the polygon is open, otherwise it is closed. |
|
RenderDirectPolygon(IEnumerable, LineDef, Color) |
Creates a RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
If fillColor specifies a non-empty and non-transparent color, the polygon is closed, otherwise it is open. |
|
RenderDirectPolygon(IEnumerable, Boolean, Style) |
Creates a RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
|
|
RenderDirectPolygon(IEnumerable, Color, Unit) |
Creates an open RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
|
|
RenderDirectPolygon(IEnumerable, Color, Unit, Color) |
Creates a RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page,
at position specified by the points' coordinates.
If fillColor specifies a non-empty and non-transparent color, the polygon is closed, otherwise it is open. |
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, Style) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef, Brush) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, LineDef, Color) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, Color, Unit) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRectangle(Unit, Unit, Unit, Unit, Color, Unit, Color) |
Adds a rectangle to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectRichText(Unit, Unit, String, Object) |
Adds an RTF-formatted string to the Body of the current document
at a specific position on the current page with auto height, and resolves it.
|
|
RenderDirectRichText(Unit, Unit, String, Object, Object, Style) |
Adds an RTF-formatted string to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectText(Unit, Unit, String, Object, Object, Style) |
Adds a text to the Body of the current document
at a specific position on the current page, and resolves it.
|
|
RenderDirectText(Unit, Unit, String, Object, Font, Color, AlignHorzEnum) |
Adds a text to the Body of the current document
at a specific position on the current page, with auto height, and resolves it.
|
|
RenderInline |
Renders a ParagraphObject into the current inline paragraph.
|
|
RenderInlineBegin | ||
RenderInlineEnd |
Ends rendering of the current inline paragraph.
|
|
RenderInlineImage(Image) |
Renders an Image into the current inline paragraph.
|
|
RenderInlineImage(Image, Style) | ||
RenderInlineText(String) |
Renders a string into the current inline paragraph.
|
|
RenderInlineText(String, Style) |
Renders a string into the current inline paragraph,
using the specified style.
|
|
RenderInlineText(String, Color) |
Renders a string into the current inline paragraph,
using the specified text color.
|
|
RenderInlineText(String, Font) |
Renders a string into the current inline paragraph,
using the specified font.
|
|
RenderInlineText(String, FontStyle) |
Renders a string into the current inline paragraph,
using the specified font style.
|
|
RenderInlineText(String, Font, Color) |
Renders a string into the current inline paragraph,
using the specified font and text color.
|
|
Save(Stream) |
Saves the current document to a stream using the C1d format.
|
|
Save(String) | ||
Save(Stream, C1DocumentFormatEnum) |
Saves the current document to a stream using the specified format.
|
|
Save(String, C1DocumentFormatEnum) |
Saves the current document to a disk file using the specified format.
|
|
SelectBestMeasurementDevice |
Selects a device to use for 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 MeasurementPrinterName,
and MeasurementDevice is set to Printer.
Otherwise, MeasurementDevice is set to Screen.
The selected device's resolution is returned by MeasurementDpi.
|
|
StartDoc |
Starts a new document.
|
|
ToRU(Double, UnitTypeEnum) |
Converts a double value expressed in specified UnitTypeEnum units
to a double value expressed in the current document's ResolvedUnit units,
using CreationDpi as the source resolution if srcType is Pixel.
|
|
ToRU(RectangleD, UnitTypeEnum) |
Converts a RectangleD structure expressed in specified UnitTypeEnum units
to a RectangleD expressed in the current document's ResolvedUnit units,
using CreationDpi as the source resolution if srcType is Pixel.
|
|
ToRU(Double, UnitTypeEnum, Single) |
Converts a double value expressed in specified UnitTypeEnum units
to a double value expressed in the current document's ResolvedUnit units.
|
|
ToRU(RectangleD, UnitTypeEnum, Single, Single) |
Converts a RectangleD structure expressed in specified UnitTypeEnum units
to a RectangleD expressed in the current document's ResolvedUnit units.
|