ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1OwnerDrawPrint.RenderDirectImage Method

Renders an image for the document.

[Visual Basic]

Public Sub RenderDirectImage( _

ByVal x As Object, _

ByVal y As Object, _

ByVal image As Image, _

ByVal width As Object, _

ByVal height As Object, _

ByVal imageAlign As BackgroundPictureDrawModeEnum _

)

[C#]

public void RenderDirectImage(

object x,

object y,

Image image,

object width,

object height,

BackgroundPictureDrawModeEnum imageAlign

);

[Delphi]

public procedure RenderDirectImage(

x: Object;

y: Object;

image: Image;

width: Object;

height: Object;

imageAlign: BackgroundPictureDrawModeEnum

);

Parameters

x

X-coordinate.

y

Y-coordinate.

image

Image to render.

width

Width to render.

height

Height to render.

imageAlign

Alignment options.

Remarks

Position and size (x, y, width, and height) may be specified either as numbers (in which case they are interpreted in default units), as strings consisting of a number followed by a unit name (in which case units may be specified).

See Also

C1OwnerDrawPrint Class | C1OwnerDrawPrint Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.