Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class
Properties Methods

In This Topic
    Layer Class Members
    In This Topic

    The following tables list the members exposed by Layer.

    Public Properties
     NameDescription
    Public PropertyGets the owner Layer if this is a nested Layer.  
    Public PropertyGets the nested Layer that appears below all other nested Layers on this Layer.  
    Public PropertyGets the Visual that appears below all other Visuals on this Layer.  
    Public PropertyGets or sets a GrapeCity.Documents.Layout.LayoutRect that affects the transformation matrix when clipping this Layer.

    If the CreateClipRegion delegate is not assigned, the ClipRect rectangle is also used as a clipping region.

     
    Public PropertyGets or sets a delegate that creates a clipping region (GrapeCity.Documents.Drawing.IClipRegion) taking GrapeCity.Documents.Drawing.GcGraphics and Layer as parameters.

    The transformation matrix of the clipping region is defined by the ClipRect.Transform property. If the ClipRect property is not assigned, the transformation matrix of the owner View is used.

     
    Public PropertyGets or sets a delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer and draws the layer on the graphics.  
    Public PropertyGets true if this Layer is not associated with any Surface, false otherwise.  
    Public PropertyGets the sibling Layer that appears on top of the current Layer.  
    Public PropertyGets the sibling Layer that appears below the current Layer.  
    Public PropertyGets or sets the name of this Layer.  
    Public PropertyGets the owner Surface object.  
    Public PropertyGets or sets an object that contains arbitrary data associated with this layer.  
    Public PropertyGets the nested Layer that appears on top of all other nested Layers on this Layer.  
    Public PropertyGets the Visual that appears on top of all other Visuals on this Layer.  
    Public PropertyIf the current object is a Layer, gets the owner View. If the current object is a View, gets this object.  
    Public PropertyGets or sets a value indicating whether this Layer is visible.  
    Top
    Public Methods
     NameDescription
    Public MethodMoves the layer to the front. It becomes the topmost nested layer of the base Layer or the top layer of the Surface.  
    Public MethodOverloaded. Creates a Space object that represents an invisible helper rectangle for easy layout of other elements.  
    Public MethodOverloaded. Creates a nested Layer object and adds it on top of other nested layers.  
    Public MethodOverloaded. Creates a nested View object and adds it on top of other nested layers.  
    Public MethodOverloaded. Creates a Visual object that represents a drawing element.  
    Public MethodDetaches this Layer from the owner Surface.  
    Public MethodReturns the array of nested layers and views on this Layer.  
    Public MethodReturns the array of Visual objects.  
    Public MethodMoves the current Layer to the position on top of the specified layer.  
    Public MethodMoves the current Layer to the position below the specified layer.  
    Public MethodMoves the layer to the back. It becomes the bottom nested layer of the base Layer or the bottom layer of the Surface.  
    Public MethodReturns a string that represents the current Layer.  
    Top
    See Also