This topic has not yet been rated - Rate this topic

width property

Gets the width, in CSS pixels, of a given box of text.

HTML Canvas 2D Context, Section 11Internet Explorer 9

Syntax

HRESULT value = object.get_width(* p);

Property values

Type: float

Width of the given text, in CSS pixels.

Standards information

See also

ICanvasRenderingContext2D::measureText

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.