PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderFragment Class
Properties Methods


In This Topic
    RenderFragment Class Members
    In This Topic

    The following tables list the members exposed by RenderFragment.

    Public Properties
     NameDescription
    Public PropertyGets or sets the current fragment's bounds within its parent. For top level fragments, bounds within Page are returned.  
    Public PropertyGets the bounds of the current fragment on the page.  
    Public PropertyGets a RenderFragmentCollection containing the child fragments of the current fragment.  
    Public PropertyGets the value indicating whether the parent object is clipped. (Returns the value of C1PrintDocument.ClipPage for top-level fragments, RenderObject.Clip of the parent fragment's render object for nested ones.)  
    Public PropertyGets the 0-based index of the column on the page containing the current fragment. For the default single-column page layout, the value of this property is 0. If the current fragment belongs to a page header or footer, this value is -1 (see IsInPageHeader and IsInPageFooter).  
    Public PropertyFor internal use.  
    Public PropertyGets the C1PrintDocument object containing the current fragment.  
    Public PropertyFor internal use.  
    Public PropertyGets a value indicating whether the Children collection of the current fragment has been initialized and contains one or more elements.  
    Public PropertyGets the 0-based index of the current fragment in the Children collection of its Parent.  
    Public PropertyGets the 0-based index of the current fragment in the RenderObject.Fragments collection of the RenderObject that produced it.  
    Public PropertyGets the inner bounds of the current fragment (without spacing, borders and padding) within its parent.  
    Public PropertyGets the inner bounds of the current fragment (without spacing, borders and padding) on the page.  
    Public PropertyGets a value indicating whether the current fragment belongs to the page footer.  
    Public PropertyGets a value indicating whether the current fragment belongs to the page header.  
    Public PropertyGets the nesting level of the current fragment in the fragments' tree. The topmost fragment (that has no parent) has level 1.  
    Public PropertyGets the page containing the current fragment.  
    Public PropertyGets the 0-based index of C1Page containing the current fragment.  
    Public PropertyGets RenderFragment that is the parent of the current fragment.  
    Public PropertyGets the RenderObject that produced the current fragment.  
    Public PropertyGets the 0-based index of the column in the most nested RenderTableFragment containing the current render object (i.e. the column index on the current page), or -1 if the current object is not contained in a table.  
    Public PropertyGets the most nested RenderTableFragment containing the current fragment, or null if the current object is not contained in a table.  
    Public PropertyGets the 0-based index of the row in the most nested RenderTableFragment containing the current render object (i.e. the row index on the current page), or -1 if the current object is not contained in a table.  
    Public PropertyGets the top level RenderFragment containing the current fragment.  
    Public PropertyGets a value indicating whether the current fragment is visible.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyFor internal use.  
    Protected PropertyFor internal use.  
    Top
    Public Methods
     NameDescription
    Public MethodAssigns (copies) properties from another RenderFragment to the current object. Clones Children by cloning all its elements.  
    Public MethodCreates a copy of the current RenderFragment.  
    Public MethodOverloaded. Draws the current fragment on a specified System.Drawing.Graphics.  
    Public MethodSearches for a C1Hyperlink object in the current fragment at the specified position.  
    Public MethodCalculates the location of a C1Anchor contained in the RenderObject.Anchors collection of the render object that produced the current fragment.  
    Public MethodAdds information about all hyperlinks that appear in the current fragment to a C1HyperlinkInfoCollection.  
    Public MethodChecks whether any of the child fragments of the current fragment are clipped by its bounds. Depending on the recursive parameter, may also recursively test all child fragments.  
    Public MethodReturns true if shadow visible for RenderFragment.  
    Public MethodThis method is called by the rendering engine after the current RenderFragment has been completely resolved. Typically this method would be used to clear temporary data created and used during resolving.  
    Top
    Protected Methods
     NameDescription
    Protected MethodCalculates a value of dimension specified by LengthAbs.  
    Protected MethodCalculates a value of dimension specified by the LengthExp object. (dimension is an expression).  
    Protected MethodCalculates a value of dimension specified by the LengthRef object. (dimension references a dimension of another object).  
    Protected MethodCreates instance of object same type as current RenderFragment object.  
    Protected MethodCreates a SplitParams object, used during splitting, child classes may override this method to create the SplitParams object of custom type (derived from SplitParams).  
    Protected MethodDraws background of object.  
    Protected MethodDraws borders of object.  
    Protected MethodFor internal use.  
    Protected MethodFor internal use.  
    Protected MethodOverloaded. For internal use.  
    Protected MethodChecks can object's content be split on specified position by horizontally.  
    Protected MethodChecks can object's content be split on specified position by vertically.  
    Protected MethodFor internal use.  
    Protected MethodOverride this method to define the drawing flags. These flags manage the object's painting.  
    Protected MethodFor internal use.  
    Protected MethodOverride this method and return the horizontal splits in the object relative to the left edge of the content area.  
    Protected MethodGets the object referenced by a LengthRef object. Called only from ResolveLengthRef.  
    Protected MethodRetures GraphicsPath object representing the rounded object's border, if border is not rounded returns nil.  
    Protected MethodOverride this method and return the vertical splits in the object relative to the top top edge of the content area.  
    Protected MethodFor internal use.  
    Protected MethodOverloaded. Override this procedure if GetDrawingFlags does not set the DrawingFlagsEnum.UseGdiDrawing flag.  
    Protected MethodFor internal use only.  
    Protected MethodOverride this method to perform additional initializations of resolved info of object on reresolving. Some dimensions of object do not change when it splits, so you can use this method to copy some information from old resolved info to new resolved info.  
    Protected MethodFor internal use.  
    Protected MethodResolves an absolute dimension of object.  
    Protected MethodResolves an auto dimension of object.  
    Protected MethodResolves a expression dimension of object.  
    Protected MethodResolves a dimension of object specified as reference.  
    Protected MethodFor internal use.  
    Protected MethodIndicates whether the Borders property should be serialized.  
    Protected MethodIndicates whether the DrawInner property should be serialized.  
    Protected MethodIndicates whether the Padding property should be serialized.  
    Protected MethodIndicates whether the Spacing property should be serialized.  
    Protected MethodPerforms splitting of RenderFragment object.  
    Protected MethodFor internal use.  
    Protected MethodSplits content of object by horizontally, by default this procedure split object as image.  
    Protected MethodSplits content of object by vertically, by default this procedure split object as image.  
    Top
    See Also