Options.AllowPixelUnits Property 

True if Microsoft Word uses pixels as the default unit of measurement for HTML features that support measurements.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim options1 As Options

Dim returnValue As Boolean
returnValue = options1.AllowPixelUnits

Dim sampleValue As Boolean
options1.AllowPixelUnits = sampleValue

Syntax

Property AllowPixelUnits() As Boolean
bool AllowPixelUnits {get; set;}
property Boolean AllowPixelUnits{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AllowPixelUnits();
public void set_AllowPixelUnits(boolean);
function get AllowPixelUnits() : Boolean;
function set AllowPixelUnits(Boolean);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Options Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Options Members