Hide Comments
Hide Comments

Comments (0)

Specifies whether and how to resize, replicate, and position the SVG image for rendering the TRSSVGImage surface.

The WrapMode property should be one of the constants defined in the TSVGImageWrapMode type:

iwOriginal-- displays the SVG with its original dimensions.

iwFit-- best fit (keeping SVG proportions--the ratio between the width and height) for the TRSSVGImage rectangle. Default.

iwStretch--stretches the SVG to fill the entire rectangle of this TRSSVGImage component.

iwTile--tiles the TRSSVGImage image to cover the entire rectangle of the TRSSVGImage component.

iwCenter-- center the SVG inside the TRSSVGImage component
 

Namespace: RSSVGCtrls

expandingSyntax

Delphi

published
  property WrapMode: TSVGImageWrapMode read FWrapMode write SetWrapMode default TSVGImageWrapMode.iwFit;
 

Property Value

Type: TSVGImageWrapMode

expandingRemarks

noteNote

Note that unlike the TImage, the iwFit mode for TRSSVGImage scales the SVG as large as possible while still keeping image proportions

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb