@DOMObjectAttribute @DOMNameAttribute(name="SVGViewElement") public class SVGViewElement extends SVGElement implements ISVGFitToViewBox, ISVGZoomAndPan
The SVGViewElement interface corresponds to the 'view’ element.
SVGElement,
ISVGFitToViewBox,
ISVGZoomAndPanNode.FlagsATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, parent, PROCESSING_INSTRUCTION_NODE, TEXT_NODEEventMapPropertyChanged, PropertyChangedDelegate| Constructor and Description |
|---|
SVGViewElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
SVGElement class. |
| Modifier and Type | Method and Description |
|---|---|
SVGAnimatedPreserveAspectRatio |
getPreserveAspectRatio()
Corresponds to attribute ’preserveAspectRatio’ on the given element.
|
SVGAnimatedRect |
getViewBox()
Corresponds to attribute 'viewBox’ on the given element.
|
SVGStringList |
getViewTarget()
Corresponds to attribute 'viewTarget’ on the given 'view’ element.
|
int |
getZoomAndPan()
Corresponds to attribute 'zoomAndPan’ on the given element.
|
void |
setZoomAndPan(int value)
Corresponds to attribute 'zoomAndPan’ on the given element.
|
addSVGAttributeBinding, blur, focus, getClassName_SVGElement_New, getId_SVGElement_New, getOwnerSVGElement, getStyle, getSVGAttributeBindings, getSVGContext, getTabIndex, getViewportElement, isReadOnly, isRendered, setId_SVGElement_New, setTabIndexattachShadow, dispose, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContentadoptNode, appendChild, cloneNode, deepClone, finalize, getBaseURI, getChildNodes, getChildNodesInternal, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setLocalName, setNamespaceURI, setNodeValue, setParentNode, setPrefix, toStringaddEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListenerfireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBindingpublic SVGViewElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the SVGElement class.
name - The element name.doc - The document.public SVGAnimatedRect getViewBox()
Corresponds to attribute 'viewBox’ on the given element.
Value: The 'viewBox’ of the given element.getViewBox in interface ISVGFitToViewBoxpublic SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
Corresponds to attribute ’preserveAspectRatio’ on the given element.
Value: The ’preserveAspectRatio’ of the given element.getPreserveAspectRatio in interface ISVGFitToViewBoxpublic int getZoomAndPan()
Corresponds to attribute 'zoomAndPan’ on the given element. The value must be one of the SVG_ZOOMANDPAN_* constants defined on this interface.
getZoomAndPan in interface ISVGZoomAndPanDOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The zoom and pan.public void setZoomAndPan(int value)
Corresponds to attribute 'zoomAndPan’ on the given element. The value must be one of the SVG_ZOOMANDPAN_* constants defined on this interface.
setZoomAndPan in interface ISVGZoomAndPanDOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The zoom and pan.@DOMNameAttribute(name="viewTarget") public SVGStringList getViewTarget()
Corresponds to attribute 'viewTarget’ on the given 'view’ element. A list of DOMString values which contain the names listed in the 'viewTarget’ attribute. Each of the DOMString values can be associated with the corresponding element using the getElementById() method call.
Value: The attribute 'viewTarget’ of the given 'view’ element.