IInkPresenterDesktop::GetSize method (inkpresenterdesktop.h)

Gets the size of the InkPresenter object.

Syntax

HRESULT GetSize(
  [out] float *width,
  [out] float *height
);

Parameters

[out] width

The width of the object, in DIPs.

[out] height

The height of the object, in DIPs.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header inkpresenterdesktop.h

See also

Complex ink sample

IInkPresenterDesktop

Pen and stylus interactions

Samples

Complex Ink sample

Simple ink sample