TdxSmartGlyph.SourceWidth Property
Specifies the container’s image display width, in pixels.
Declaration
property SourceWidth: Integer read; write;
Property Value
Type | Description |
---|---|
Integer | The container’s image display width, in pixels. |
Remarks
You can use SourceWidth
and SourceHeight properties to adjust the stored glyph’s dimensions on a screen. If unspecified, these properties return the current dimensions of the stored image (Width and Height property values).
Tip
The stored image’s on-screen width is the product of the SourceWidth
property value and the ratio between the current monitor DPI and the SourceDPI property value.
Default Value
The SourceWidth
property’s default value is 0
.
The default SourceWidth
property value indicates that the container’s width matches the width of the stored image. The SourceWidth
property returns the Width property value.
See Also