Help Center

CGraphCtx.SetVirtualBufferSizemethod

Sets the size of the virtual buffer.

GraphicsmethodCGraphCtx.incdocumented

Syntax

FUNCTION SetVirtualBufferSize (BYVAL nWidth AS LONG, BYVAL nHeight AS LONG) AS LONG

Parameters

NameDescription
nWidthWidth, in pixels, of the virtual buffer.
nHeightHeight, in pixels, of the virtual buffer.

Return value

If the function succeeds, the return value is S_OK (0).

Description

Sets the size of the virtual buffer.

Reference

  • Include file CGraphCtx.inc
  • Defined in AfxNova/CGraphCtx.inc:639
  • Documented in Graphics/CGraphCtx Class.md
  • Topic: CGraphCtx Class