RepositoryItemPictureEdit.SvgImageSize Property
Gets or sets the required size of the vector image.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Size | A |
Remarks
You specify the vector image to be displayed by the editor using the PictureEdit.SvgImage property. The image is rendered according to the SvgImage‘s Width and Height properties by default. The SvgImageSize property allows you to specify a custom size.
Note
The SvgImageSize property and SvgImage‘s Width and Height properties specify the required size in pixels for the 100% (96 DPI) scale mode. The image is automatically scaled according to the current DPI setting.
You can also stretch or squeeze the image in the editor using the RepositoryItemPictureEdit.SizeMode property.