• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class EmfSemanticUnit

Represents one effective drawing unit reconstructed from an EMF stream.

Inheritance
object
EmfSemanticUnit
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DRIT.Drawing.Metafile
Assembly: DRIT.Drawing.dll
Syntax
public sealed class EmfSemanticUnit

Constructors

EmfSemanticUnit()

Initializes an empty EmfSemanticUnit instance.

Declaration
public EmfSemanticUnit()

Properties

Bounds

Gets the raw logical bounds from the terminal EMF operation.

Declaration
public EmfRectangle Bounds { get; }
Property Value
Type Description
EmfRectangle

FillColor

Gets the effective selected brush color, when known.

Declaration
public EmfColor FillColor { get; }
Property Value
Type Description
EmfColor

Font

Gets the effective selected font for a text unit.

Declaration
public EmfFontInfo Font { get; }
Property Value
Type Description
EmfFontInfo

IsFilled

Gets whether the unit fills its geometry.

Declaration
public bool IsFilled { get; }
Property Value
Type Description
bool

IsStroked

Gets whether the unit strokes its geometry.

Declaration
public bool IsStroked { get; }
Property Value
Type Description
bool

Kind

Gets the semantic unit category.

Declaration
public EmfSemanticUnitKind Kind { get; }
Property Value
Type Description
EmfSemanticUnitKind

NormalizedBounds

Gets the raw bounds normalized to the EMF canvas.

Declaration
public EmfNormalizedRectangle NormalizedBounds { get; }
Property Value
Type Description
EmfNormalizedRectangle

NormalizedPoints

Gets the points transformed and normalized to the EMF canvas.

Declaration
public IReadOnlyList<EmfNormalizedPoint> NormalizedPoints { get; }
Property Value
Type Description
IReadOnlyList<EmfNormalizedPoint>

OperationKind

Gets the terminal EMF operation that produced the unit.

Declaration
public EmfOperationKind OperationKind { get; }
Property Value
Type Description
EmfOperationKind

Points

Gets the path or geometry points carried by the unit.

Declaration
public IReadOnlyList<EmfPoint> Points { get; }
Property Value
Type Description
IReadOnlyList<EmfPoint>

PolygonCount

Gets the number of polygons when the operation carries that value.

Declaration
public int? PolygonCount { get; }
Property Value
Type Description
int?

RecordIndex

Gets the source EMF record index.

Declaration
public int RecordIndex { get; }
Property Value
Type Description
int

StrokeColor

Gets the effective selected pen color, when known.

Declaration
public EmfColor StrokeColor { get; }
Property Value
Type Description
EmfColor

StrokeWidth

Gets the effective selected pen width in logical EMF units.

Declaration
public int StrokeWidth { get; }
Property Value
Type Description
int

Text

Gets the text when the unit is a text operation.

Declaration
public string Text { get; }
Property Value
Type Description
string

TextColor

Gets the effective text color for a text unit.

Declaration
public EmfColor TextColor { get; }
Property Value
Type Description
EmfColor

Transform

Gets the effective world transform at the output record.

Declaration
public EmfTransform Transform { get; }
Property Value
Type Description
EmfTransform

Methods

ToString()

Returns a concise semantic description.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX