Class CSSPageDescriptors
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
[Value("CSSPageDescriptors")]
public class CSSPageDescriptors : CSSStyleDeclaration
- Inheritance
-
CSSPageDescriptors
- Inherited Members
Remarks
The interface exposes style information and various style-related methods and properties for the page.
Each multi-word property has versions in camel- and snake-case.
This means, for example, that you can access the margin-top CSS property using the syntax style["margin-top"] or style.marginTop (where style is a CSSPageDescriptor).
A CSSPageDescriptors object is accessed through the Style property of the CSSPageRule interface, which can in turn be found using the CSSStyleSheet API.
Constructors
CSSPageDescriptors()
public CSSPageDescriptors()
Properties
Bleed
[Value("bleed")]
public string Bleed { get; set; }
Property Value
Margin
[Value("margin")]
public string Margin { get; set; }
Property Value
MarginBottom
[Value("marginBottom")]
public string MarginBottom { get; set; }
Property Value
MarginLeft
[Value("marginLeft")]
public string MarginLeft { get; set; }
Property Value
MarginRight
[Value("marginRight")]
public string MarginRight { get; set; }
Property Value
MarginTop
[Value("marginTop")]
public string MarginTop { get; set; }
Property Value
Margin_bottom
[Value("margin-bottom")]
public string Margin_bottom { get; set; }
Property Value
Margin_left
[Value("margin-left")]
public string Margin_left { get; set; }
Property Value
Margin_right
[Value("margin-right")]
public string Margin_right { get; set; }
Property Value
Margin_top
[Value("margin-top")]
public string Margin_top { get; set; }
Property Value
Marks
[Value("marks")]
public string Marks { get; set; }
Property Value
PageOrientation
[Value("pageOrientation")]
public string PageOrientation { get; set; }
Property Value
Page_orientation
[Value("page-orientation")]
public string Page_orientation { get; set; }
Property Value
Size
[Value("size")]
public string Size { get; set; }