complexType MediaSize
diagram PrintFactoryJob_diagrams/PrintFactoryJob_p326.png
namespace https://printfactory.cloud/schema/2.0
children pf:Margins
used by
element MediaSourceGroup/MediaSize
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  pf:GUID        
documentation
ID of this media size definition in the cloud
Name  xs:string  required      
documentation
Name of the size
Width  derived by: xs:decimal  required      
documentation
Width of the media in units
Length  derived by: xs:decimal  required      
documentation
Length or height of the media in units
Roll  xs:boolean  optional  false    
documentation
Roll (true) or sheet (false)
Transverse      false    
documentation
Transverse loaded media
annotation
documentation
Media size definition
source <xs:complexType name="MediaSize">
 
<xs:annotation>
   
<xs:documentation>Media size definition</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Margins" default="0,0,0,0" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Physical (unprintable) margins; left top right bottom in units</xs:documentation>
     
</xs:annotation>
     
<xs:simpleType>
       
<xs:restriction base="xs:string">
         
<xs:pattern value="([+-]?([0-9]*[.])?[0-9]+,?){4}"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:element>
 
</xs:sequence>
 
<xs:attribute name="Id" type="pf:GUID">
   
<xs:annotation>
     
<xs:documentation>ID of this media size definition in the cloud</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="Name" type="xs:string" use="required">
   
<xs:annotation>
     
<xs:documentation>Name of the size</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="Width" use="required">
   
<xs:annotation>
     
<xs:documentation>Width of the media in units</xs:documentation>
   
</xs:annotation>
   
<xs:simpleType>
     
<xs:restriction base="xs:decimal">
       
<xs:minExclusive value="0"/>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:attribute>
 
<xs:attribute name="Length" use="required">
   
<xs:annotation>
     
<xs:documentation>Length or height of the media in units</xs:documentation>
   
</xs:annotation>
   
<xs:simpleType>
     
<xs:restriction base="xs:decimal">
       
<xs:minExclusive value="0"/>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:attribute>
 
<xs:attribute name="Roll" type="xs:boolean" use="optional" default="false">
   
<xs:annotation>
     
<xs:documentation>Roll (true) or sheet (false)</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="Transverse" default="false">
   
<xs:annotation>
     
<xs:documentation>Transverse loaded media</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute MediaSize/@Id
type pf:GUID
facets
Kind Value Annotation
pattern [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
annotation
documentation
ID of this media size definition in the cloud
source <xs:attribute name="Id" type="pf:GUID">
 
<xs:annotation>
   
<xs:documentation>ID of this media size definition in the cloud</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute MediaSize/@Name
type xs:string
properties
use required
annotation
documentation
Name of the size
source <xs:attribute name="Name" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>Name of the size</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute MediaSize/@Width
type restriction of xs:decimal
properties
use required
facets
Kind Value Annotation
minExclusive 0
annotation
documentation
Width of the media in units
source <xs:attribute name="Width" use="required">
 
<xs:annotation>
   
<xs:documentation>Width of the media in units</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:decimal">
     
<xs:minExclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MediaSize/@Length
type restriction of xs:decimal
properties
use required
facets
Kind Value Annotation
minExclusive 0
annotation
documentation
Length or height of the media in units
source <xs:attribute name="Length" use="required">
 
<xs:annotation>
   
<xs:documentation>Length or height of the media in units</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:decimal">
     
<xs:minExclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute MediaSize/@Roll
type xs:boolean
properties
use optional
default false
annotation
documentation
Roll (true) or sheet (false)
source <xs:attribute name="Roll" type="xs:boolean" use="optional" default="false">
 
<xs:annotation>
   
<xs:documentation>Roll (true) or sheet (false)</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute MediaSize/@Transverse
properties
default false
annotation
documentation
Transverse loaded media
source <xs:attribute name="Transverse" default="false">
 
<xs:annotation>
   
<xs:documentation>Transverse loaded media</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element MediaSize/Margins
diagram PrintFactoryJob_diagrams/PrintFactoryJob_p327.png
namespace https://printfactory.cloud/schema/2.0
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
default 0,0,0,0
facets
Kind Value Annotation
pattern ([+-]?([0-9]*[.])?[0-9]+,?){4}
annotation
documentation
Physical (unprintable) margins; left top right bottom in units
source <xs:element name="Margins" default="0,0,0,0" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Physical (unprintable) margins; left top right bottom in units</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:pattern value="([+-]?([0-9]*[.])?[0-9]+,?){4}"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy