Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

2febac6c 68d0 8d89 ffff 5b565886e790

haplokuon edited this page Jun 28, 2023 · 2 revisions

ShapeStyle Class

netDxf 3.0.0 Library

Represent a shape style.

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class ShapeStyle : TableObject

VB

Public Class ShapeStyle
	Inherits TableObject

C++

public ref class ShapeStyle : public TableObject

F#

type ShapeStyle = 
    class
        inherit TableObject
    end
Inheritance Object → DxfObjectTableObject → ShapeStyle

Constructors

ShapeStyle Initializes a new instance of the ShapeStyle class.

Properties

CodeName Gets the DXF object name.
(Inherited from DxfObject)
File Gets or sets the shape SHX file name.
Handle Gets the handle assigned to the DXF object.
(Inherited from DxfObject)
IsReserved Gets if the table object is reserved and cannot be deleted.
(Inherited from TableObject)
Name Gets the name of the table object.
(Inherited from TableObject)
ObliqueAngle Gets the shape oblique angle in degrees.
Owner Gets the owner of the actual shape style.
Size Gets the shape size.
WidthFactor Gets the shape width factor.
XData Gets the entity extended data.
(Inherited from DxfObject)

Methods

Clone() Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObject.Clone())
Clone(String) Creates a new TextStyle that is a copy of the current instance.
(Overrides TableObject.Clone(String))
CompareTo(Object) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
CompareTo(TableObject) Compares the current TableObject with another TableObject of the same type.
(Inherited from TableObject)
ContainsShapeName(String) Checks if the actual shape style contains a shape with the specified name (the shape SHX file must be accessible).
ContainsShapeName(String, String) Checks if the shape SHP file contains a shape with the specified name.
Equals(Object) Check if two TableObject are equal.
(Inherited from TableObject)
Equals(TableObject) Check if two TableObject are equal.
(Inherited from TableObject)
GetHashCode Returns the hash code for this instance.
(Inherited from TableObject)
GetReferences Gets the list of DxfObjects referenced by this instance.
(Overrides TableObject.GetReferences())
GetType Gets the Type of the current instance.
(Inherited from Object)
HasReferences Checks if this instance has been referenced by other DxfObjects.
(Overrides TableObject.HasReferences())
NamesFromFile Gets the list of shapes names defined in a SHX file.
NamesFromShapeStyle Gets the list of shapes names defined in the actual shape style (the shape SHX file must be accessible).
ShapeName Gets the name of the shape with the specified number.
ShapeNumber Gets the number of the shape with the specified name.
ToString Converts the value of this instance to its equivalent string representation.
(Inherited from TableObject)

Events

NameChanged
(Inherited from TableObject)
XDataAddAppReg
(Inherited from DxfObject)
XDataRemoveAppReg
(Inherited from DxfObject)

Fields

DefaultShapeFile Default text style font.

See Also

Reference

netDxf.Tables Namespace

Clone this wiki locally