Class OdGraphicStyle

Class OdGraphicStyle

Namespace: Aspose.Imaging.FileFormats.OpenDocument.Objects
Assembly: Aspose.Imaging.dll (25.7.0)

The open document graphic style.

[JsonObject(MemberSerialization.OptIn)]
   public class OdGraphicStyle
   {
   }

Inheritance

object OdGraphicStyle

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OdGraphicStyle()

public OdGraphicStyle()
   {
   }

Properties

Brush

Gets the brush.

[JsonProperty]
   public Aspose.Words.OdBrush Brush
   {
       get;
       set;
   }

Property Value

OdBrush

EndGuide

Gets or sets the end guide.

public float EndGuide
    {
        get;
        set;
    }

Property Value

float

EndMarker

Gets or sets the end marker.

[JsonProperty]
   public OdMarker EndMarker
   {
      get;
      set;
   }

Property Value

OdMarker

EndMarkerWidth

Gets or sets the end width of the marker.

public float EndMarkerWidth
    {
        get;
        set;
    }

Property Value

float

Font

Gets the font.

public OdFont OdFont
   {
      get
      {
         return this.Font;
      }
   }

Property Value

OdFont

LineHeight

Gets or sets the height of the line.

public int LineHeight
   {
      get;
      set;
   }

Property Value

int

MarginBottom

Gets or sets the margin bottom.

public class MyClass
{
    [JsonProperty]
    public float MarginBottom { get; set; }
}

Property Value

float

MarginTop

Gets or sets the margin top.

[JsonProperty]
   public float MarginTop
   {
      get;
      set;
   }

Property Value

float

MeasureLineDistance

Gets or sets the measure line distance.

public float MeasureLineDistance
{
    get;
    set;
}

Property Value

float

Opacity

Gets or sets the opacity.

[JsonProperty]
   public int Opacity
   {
      get;
      set;
   }

Property Value

int

PaddingBottom

Gets or sets the padding bottom.

public float PaddingBottom
    {
        get;
        set;
    }

Property Value

float

PaddingLeft

Gets or sets the padding left.

public float PaddingLeft // <-- Comment retained
    {
        get; // Property getter declaration line break
        set; // Property setter declaration line break
    } // property definition closing brace on same line as last token

Property Value

float

PaddingRight

Gets or sets the padding right.

public class MyClass
{
    [JsonProperty]
    public float PaddingRight { get; set; }
}

Property Value

float

PaddingTop

Gets or sets the padding top.

[JsonProperty]
   public float PaddingTop
   {
      get;
      set;
   }

Property Value

float

Pen

Gets the pen.

public OdPen OdPen { get; }

Property Value

OdPen

SpaceBefore

Gets or sets the space before.

public float SpaceBefore
   {
      get;
      set;
   }

Property Value

float

StartGuide

Gets or sets the start guide.

public class YourClassNameHere
{
    [JsonProperty]
    public float StartGuide { get; set; }
}

Property Value

float

StartMarker

Gets or sets the start marker.

public class YourClassName // Replace with actual name
 {
     [JsonProperty]
     public Aspose.Words.CheckBox StartMarker { get; set; }
 }

Property Value

OdMarker

StartMarkerWidth

Gets or sets the start width of the marker.

public float StartMarkerWidth
   {
      get;
      set;
   }

Property Value

float

StylePosition

Gets or sets the style position.

[JsonProperty]
   public float StylePosition
   {
       get;
       set;
   }

Property Value

float

TextAlign

Gets or sets the text align.

[JsonProperty]
   public OdTextAlignModeFlags TextAlign
   {
       get;
       set;
   }

Property Value

OdTextAlignModeFlags

TextColor

Gets or sets the color of the text.

public int TextColor
   {
      get;
      set;
   }

Property Value

int

TransformInfo

Gets the transform information.

public OdTransformInfo TransformInfo
   {
      get;
   }

Property Value

OdTransformInfo

Methods

Copy()

Copies this instance.

public OdGraphicStyle Copy()
   {
      return (OdGraph graphicStyle)this.Clone();
   }

Returns

OdGraphicStyle

Gets the copy of this instance.

 English