Property

Method

Event

Enterprise

 

PrintToImage

°¡·Î Çȼ¿ Å©±â¿¡ ¸Â°Ô ¹®¼­¸¦ BMP À̹ÌÁö ÆÄÀÏ·Î ·ÎÄà ½Ã½ºÅÛ¿¡ ÀúÀå(ÆÄÀÏ·Î Ãâ·Â)ÇÕ´Ï´Ù.

Syntax

    HRESULT PrintToImage(
    long width,
    BSTR fileName,
    long *height
    );

Parameters

width

[in] ÆÄÀÏ·Î Ãâ·ÂÇÒ À̹ÌÁöÀÇ °¡·Î ³Êºñ Çȼ¿

fileName

[in] ÆÄÀÏ·Î Ãâ·ÂÇÒ ´ë»ó ÆÄÀÏ ¸í

height

[out, retval] °á°ú À̹ÌÁöÀÇ ³ôÀÌ

Return Values

Ç×»ó: 0

Remarks

    fileName°ú µ¿ÀÏÇÑ ÆÄÀÏÀÌ Á¸ÀçÇÒ °æ¿ì ÀÚµ¿À¸·Î µ¤¾î¾¹´Ï´Ù.

Samples

VBScript

dim object, height
set object = Document.editForm

height = object.Wec.PrintToImage 640, "c:\\test.bmp"

See Also