Özellik
Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement
All Implemented Interfaces: com.aspose.xps.metadata.IPrintTicketItem, com.aspose.xps.metadata.IFeatureItem
public class Feature extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem
Ortak bir Print Schema özelliğini kapsayan sınıf. Tüm şema tanımlı özellikler için temel sınıf. Bir Feature öğesi, bir cihaz özniteliğini, iş biçimlendirme ayarını veya diğer ilgili özelliği tam olarak tanımlayan Option ve Property öğelerinin tam listesini içerir. https://docs.microsoft.com/en-us/windows/win32/printdocs/feature
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| Feature(String name, Option option, IFeatureItem[] items) | Yeni bir PrintTicket özelliği örneği oluşturur. |
| Feature(String name, Feature feature, IFeatureItem[] items) | Yeni bir PrintTicket özelliği örneği oluşturur. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| add(IFeatureItem[] items) | Bu özelliğin öğe listesine bir öğe listesi ekler. |
| equals(Object arg0) | |
| getClass() | |
| getName() | Elemanın adını alır. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Feature(String name, Option option, IFeatureItem[] items)
public Feature(String name, Option option, IFeatureItem[] items)
Yeni bir PrintTicket özelliği örneği oluşturur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| ad | java.lang.String | Bir özellik adı. |
| option | Option | Gerekli Option örneği. |
| items | IFeatureItem[] | Keyfi bir IFeatureItem örnekleri dizisi. Her biri bir Feature , bir Option veya bir Property örnek olmalıdır. |
Feature(String name, Feature feature, IFeatureItem[] items)
public Feature(String name, Feature feature, IFeatureItem[] items)
Yeni bir PrintTicket özelliği örneği oluşturur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| ad | java.lang.String | Özellik adı. |
| feature | Feature | Gerekli Feature örneği. |
| items | IFeatureItem[] | Keyfi bir Property örnekleri dizisi. Her biri bir Feature , bir Option veya bir Property örnek olmalıdır. |
add(IFeatureItem[] items)
public void add(IFeatureItem[] items)
Bu özelliğin öğe listesine sonuna bir öğe listesi ekler. Her biri bir Feature, bir Option veya bir Property örneği olmalıdır.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| items | IFeatureItem[] | Eklenecek öğelerin listesi. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Elemanın adını alır.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |