Hide Comments
Hide Comments

Comments (0)

Defines the ways that an image can be drawn within the boundaries of a rectangle

Namespace: RSChartConsts

expandingSyntax

Delphi

type 
  TImageOption = ( 
  ioCenter, 
  ioStretch, 
  ioProportional, 
  ioTiled, 
  ioTransparent); 
 

expandingMembers

 

Name

Description

public enummember

ioCenter

Centers an image graphic within the rectangle

public enummember

ioProportional

Stretches the image proportionally to fill as much as possible the rectangle. This option preserves the aspect ratio of the image. However, it may not completely fill the rectangle

public enummember

ioStretch

Stretches the width and height of the graphic to fill the rectangle. Note that the image can look warped if the width and height were not changed proportionally
 

public enummember

ioTiled

Fills the rectangle with multiple copies of the image by painting it again and again side to side and top to bottom. The size of the tile is the original image's dimensions

public enummember

ioTransparent

Draws the image with its background transparent.

Top

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb