IInkPresenterDesktop::SetSize method (inkpresenterdesktop.h)

Sets the size of the InkPresenter object.

Syntax

HRESULT SetSize(
  [in] float width,
  [in] float height
);

Parameters

[in] width

The width of the object, in DIPs.

[in] 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