PrintDocument for WinForms
C1PrintDocument クラス メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 : C1PrintDocument クラス

このクラスのメンバの一覧は、C1PrintDocumentメンバを参照してください。

パブリック メソッド
 名前解説
Public メソッドオーバーロードされます。 Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document. Can be used only if C1PrintDocument.IsStartEndDocMode is true.  
Public メソッドAdvances the current block flow position by the specified distance.  
Public メソッドIndicates whether rendering in the block flow is permitted now.  
Public メソッドIndicates whether direct rendering is permitted now.  
Public メソッドClears the current document, sets all properties to their default values.  
Public メソッドClears the pages and other info created during document generation. This method does not clear the document structure/content though.  
Public メソッドオーバーロードされます。 Converts an absolute Unit value to the specified measurement units (this overload cannot convert to pixels).  
Public メソッドオーバーロードされます。 オーバーライドされます。 Releases the resoureces used by C1PrintDocument.  
Public メソッドShows the tags input dialog, allows the user to enter/update the values of Tag objects contained in the C1PrintDocument.Tags collection.  
Public メソッドFinishes generation of a document.  
Public メソッドオーバーロードされます。 Exports the document to a disk file.  
Public メソッドSearches for an C1Anchor with the specified C1Anchor.Name in the current document.  
Public メソッドSearches for the first occurrence of a RenderInputFragment object in the current document.  
Public メソッドstatic (Shared in Visual Basic)オーバーロードされます。 For internal use.  
Public メソッドオーバーロードされます。 Converts a double value expressed in the current document's C1PrintDocument.ResolvedUnit units to other UnitTypeEnum units.  
Public メソッドstatic (Shared in Visual Basic)オーバーロードされます。 For internal use.  
Public メソッドオーバーロードされます。 Generates the current document, using the RefreshModeEnum.RefreshCalculatedValues refresh mode.  
Public メソッドstatic (Shared in Visual Basic)オーバーロードされます。 Converts an absolute length represented by a LengthAbs object to a double value expressed in the current document's C1PrintDocument.ResolvedUnit units.  
Public メソッド System.MarshalByRefObjectから継承されます。
Public メソッドChecks whether the document contains any tags that can be entered or changed in the tags input dialog.  
Public メソッド System.MarshalByRefObjectから継承されます。
Public メソッドIndicates whether an inline paragraph is currently being created on the document.  
Public メソッドオーバーロードされます。 Loads the current document from a stream. The stream should contain a document in C1DocumentFormatEnum.C1d format.  
Public メソッド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.  
Public メソッド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.  
Public メソッドオーバーロードされます。 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.  
Public メソッドReturns a System.Drawing.Imaging.Metafile representing the specified page.  
Public メソッドオーバーロードされます。 Prints the current document with default printer settings, not showing the print progress dialog.  
Public メソッドオーバーロードされます。 Shows the standard print dialog, allowing the user to print the current document.  
Public メソッド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.  
Public メソッド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.

 
Public メソッドオーバーロードされます。 Renders an arc into the block flow of the current document.  
Public メソッドオーバーロードされます。 Renders an ellipse into the block flow of the current document.  
Public メソッドCreates an internally maintained RenderGraphics object that can be used to add graphics to the block flow of the current document.  
Public メソッドAdds the internally maintained RenderGraphics object created with a previous call to C1PrintDocument.RenderBlockGraphicsBegin to the block flow of the current document.  
Public メソッドRenders a horizontal line with the specified width, starting at the left of the page, into the block flow of the current document.  
Public メソッドオーバーロードされます。 Renders the Image.  
Public メソッドオーバーロードされます。 Renders a pie into the block flow of the current document.  
Public メソッドオーバーロードされます。 Renders a rectangle into the block flow of the current document.  
Public メソッドオーバーロードされます。 Renders the RTF text.  
Public メソッドオーバーロードされます。 Renders a block of text into the block flow of the current document.  
Public メソッドRenders a vertical line with the specified height, starting at the current position, into the block flow of the current document.  
Public メソッドオーバーロードされます。 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.

 
Public メソッドオーバーロードされます。 Adds an arc to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Adds an ellipse to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッド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.  
Public メソッドRenders the internally maintained RenderGraphics object created with a previous call to C1PrintDocument.RenderDirectGraphicsBegin onto the current page of the document.  
Public メソッドオーバーロードされます。 Adds an System.Drawing.Image to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Adds a line to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Adds a pie to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.  
Public メソッドオーバーロードされます。 Adds a rectangle to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Adds an RTF-formatted string to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドオーバーロードされます。 Adds a text to the C1PrintDocument.Body of the current document at a specific position on the current page, and resolves it.  
Public メソッドRenders a ParagraphObject into the current inline paragraph.  
Public メソッドBegins rendering of a new inline paragraph into the C1PrintDocument.Body of the current document, using the specified C1PrintDocument.Style and dimensions.  
Public メソッドEnds rendering of the current inline paragraph.  
Public メソッドオーバーロードされます。 Renders an System.Drawing.Image into the current inline paragraph.  
Public メソッドオーバーロードされます。 Renders a string into the current inline paragraph, using the specified style.  
Public メソッドオーバーロードされます。 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.  
Public メソッドstatic (Shared in Visual Basic)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 MeasurementPrinterName, and MeasurementDevice is set to MeasurementDeviceEnum.Printer. Otherwise, MeasurementDevice is set to MeasurementDeviceEnum.Screen. The selected device's resolution is returned by C1PrintDocument.MeasurementDpi.  
Public メソッドStarts a new document.  
Public メソッドオーバーロードされます。 Converts a double value expressed in specified UnitTypeEnum units to a double value expressed in the current document's C1PrintDocument.ResolvedUnit units.  
Public メソッド System.ComponentModel.Componentから継承されます。
トップ
プロテクト メソッド
 名前解説
Protected メソッドCalled when the document has finished generating. Executes the C1PrintDocument.DocumentEndedScript script. See remarks in C1PrintDocument.OnDocumentStarting method for details and order of events.  
Protected メソッドCalled when the document is starting to generate. Executes the C1PrintDocument.DocumentStartingScript script. See remarks in C1PrintDocument.OnDocumentStarting method for details and order of events.  
Protected メソッド System.ComponentModel.Componentから継承されます。
Protected メソッド System.ComponentModel.Componentから継承されます。
Protected メソッドPerforms some initializations: creates the sub-objects (PageHeader, PageFooter etc) initializes DefaultPageSettings and so on.  
Protected メソッドオーバーロードされます。  System.MarshalByRefObjectから継承されます。
Protected メソッドCalled when the C1PrintDocument.Pages collection is about to be cleared. Raises the C1PrintDocument.BeforePagesClear event.  
Protected メソッドCalled when the C1PrintDocument.BusyState property value has changed.  
Protected メソッドCalled when the C1PrintDocument.DefaultUnit property value has changed.  
Protected メソッドCalled when the document has finished generating. Raises the C1PrintDocument.DocumentEnded event. The C1PrintDocument.BusyState property is set to BusyStateEnum.Ready before this method is called. See remarks in C1PrintDocument.OnDocumentStarting method for more details.  
Protected メソッドCalled when the document is starting to generate. Raises the C1PrintDocument.DocumentStarting event. The C1PrintDocument.BusyState property is set to BusyStateEnum.Generating after this method returns. See remarks for more details.  
Protected メソッドRaises the C1PrintDocument.FormsStyleChanged event.  
Protected メソッドRaises the C1PrintDocument.GenerateDocument event.  
Protected メソッドCalled during document generation after a C1Page has completely generated, raises the C1PrintDocument.PageAdded event.  
Protected メソッドCalled when a new empty page is created and added to the current document, raises the C1PrintDocument.PageConfigure event. When this method is called, the C1Page has already been added to the C1PrintDocument.Pages collection but has not yet been resolved. If overridden in a derived class, must call the base method; can be used to change the layout of the new page.  
Protected メソッドCalled when a page is removed from the C1PrintDocument.Pages collection.  
Protected メソッドCalled after the C1PrintDocument.Pages collection has been cleared. Raises the C1PrintDocument.PagesClear event.  
Protected メソッドCalled during document generation after a C1Page has updated, raises the C1PrintDocument.PageUpdated event.

This method is called each time a RenderObject's fragment (RenderFragment) is added to or removed from the page (i.e. this method is called very often while the document generates).

See also C1PrintDocument.OnPageChanged.

 
Protected メソッドCalled when the C1PrintDocument.ResolvedUnit property value has changed.  
Protected メソッドIndicates whether the C1PrintDocument.AutoEmbedFonts property should be serialized.  
Protected メソッドIndicates whether the C1PrintDocument.Style property should be serialized.  
Protected メソッドIndicates whether the C1PrintDocument.TagCloseParen property should be serialized.  
Protected メソッドIndicates whether the C1PrintDocument.TagEscapeString property should be serialized.  
Protected メソッドIndicates whether the C1PrintDocument.TagOpenParen property should be serialized.  
Protected メソッドIndicates whether the C1PrintDocument.TagsInputDialogClassName property should be serialized.  
トップ
参照

C1PrintDocument クラス
C1.C1Preview 名前空間