IInkPresenterDesktop::SetSize method (inkpresenterdesktop.h)

Sets the size of the InkPresenter object.

Syntax

HRESULT SetSize(
  float width,
  float height
);

Parameters

width

The width of the object, in DIPs.

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

   
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