SftPrintPreview/OCX 1.0

SftPrintPreview.ContentSizing Property

Softel vdm, Inc.

Defines the resizing method used to fit the contents within the page.

Syntax       

Get

VB.NET

Style = object.ContentSizing  As SftPrintPreviewContentSizingConstants

VB

Style = object.ContentSizing  As SftPrintPreviewContentSizingConstants

C#.NET

SftPrintPreviewContentSizingConstants Style = object.ContentSizing;

VC++

enum SftPrintPreviewContentSizingConstants Style = object->ContentSizing;
enum SftPrintPreviewContentSizingConstants Style = object->GetContentSizing();

C

HRESULT object->get_ContentSizing(enum SftPrintPreviewContentSizingConstants* Style);

Delphi

Style := object.ContentSizing  : TOleEnum;

Put

VB.NET

object.ContentSizing = Style  As SftPrintPreviewContentSizingConstants

VB

object.ContentSizing = Style  As SftPrintPreviewContentSizingConstants

C#.NET

SftPrintPreviewContentSizingConstants object.ContentSizing = Style;

VC++

enum SftPrintPreviewContentSizingConstants object->ContentSizing = Style;
void object->PutContentSizing(enum SftPrintPreviewContentSizingConstants Style);

C

HRESULT object->put_ContentSizing(enum SftPrintPreviewContentSizingConstants Style);

Delphi

object.ContentSizing := Style  : TOleEnum;

object

A SftPrintPreview object.

Style

Defines the resizing method used to fit the contents within the page.

Name

Value

Description

sizingSftPrintPreviewExact

0

As-is

sizingSftPrintPreviewShrinkToFit

1

Shrink To Fit

sizingSftPrintPreviewEnlargeToFit

2

Enlarge To Fit

sizingSftPrintPreviewFit

3

Shrink/Enlarge To Fit

Comments

The ContentSizing property defines the resizing method used to fit the contents within the page.

This property is not used by SftPrintPreview/OCX and is available for application-generated output formatting.


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com