次の方法で共有


2.2.1.2 EmfPlusCustomLineCap Object

The EmfPlusCustomLineCap object specifies the shape to use at the ends of a line drawn by a graphics pen.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Version

Type

CustomLineCapData (variable)

...

Version (4 bytes): An EmfPlusGraphicsVersion object (section 2.2.2.19) that specifies the version of operating system graphics that was used to create this object.

Type (4 bytes): A signed integer that specifies the type of custom line cap object, which determines the contents of the CustomLineCapData field. This value is defined in the CustomLineCapDataType enumeration (section 2.1.1.9).

CustomLineCapData (variable): Variable-length data that defines the custom line cap data object specified in the Type field. The content and format of the data can be different for every custom line cap type.

This object is generic and is used to specify different types of custom line cap data, including:

  • An EmfPlusCustomLineCapArrowData object (section 2.2.2.12); and

  • An EmfPlusCustomLineCapData object (section 2.2.2.13).

See section 2.2.1 for the specification of additional graphics objects.