[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.Composition.Visual

Visual Class

Represents a figure, text, or image on a Layer.

Inheritance
Visual
Namespace: GrapeCity.Documents.Layout.Composition
Assembly: DS.Documents.Imaging.dll
Syntax
public class Visual : Space
Public Class Visual
    Inherits Space

Properties

Name Description
AnchorPoints

Gets or sets the associated array of AnchorPoint objects.

Either Contour or AnchorPoints can be assigned at the same time, but not both.

Contour

Gets or sets an associated Contour object.

Either Contour or AnchorPoints can be assigned at the same time, but not both.

Draw

Gets or sets a delegate that accepts a GcGraphics object and a Visual and draws the visual on the graphics.

Height

Get the height of the associated LayoutRect if any exists, or of the owner LayoutView.

Points

Gets the array of points transformed relative to the associated LayoutRect if any exists, or relative to the owner LayoutView.

Visible

Gets or sets a value indicating whether this Visual is visible.

VisualAbove

Gets the Visual that appears on top of the current Visual.

VisualBelow

Gets the Visual that appears below the current Visual.

Width

Get the width of the associated LayoutRect if any exists, or of the owner LayoutView.

Methods

Name Description
AsRectF()

Creates a RectangleF with the same Width and Height as this Visual.

BringToFront()

Moves the Visual to the front. It becomes the top Visual on the owner Layer.

Detach()

Detaches this Visual from the owner Layer.

MoveAbove(Visual)

Moves this Visual to the position on top of the specified visual.

MoveBelow(Visual)

Moves this Visual to the position below the specified visual.

SendToBack()

Moves this Visual to the back. It becomes the bottom Visual on the owner Layer.