Class StringParameterInit
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
所有字符串参数初始化器的基类。
public abstract class StringParameterInit : ParameterInit, IPrintTicketItem, IPrintTicketElementChild
继承
object ← PrintTicketElement ← ParameterInit ← StringParameterInit
派生
DocumentBannerSheetSource, DocumentCoverBackSource, DocumentCoverFrontSource, DocumentImpositionColor, DocumentPageRanges, JobComment, JobErrorSheetSource, JobPrimaryBannerSheetSource, JobPrimaryCoverBackSource, JobPrimaryCoverFrontSource, PageBlendColorSpaceICCProfileURI, PageDestinationColorProfileEmbedded, PageDestinationColorProfileURI, PageDeviceColorSpaceProfileURI, PageSourceColorProfileEmbedded, PageSourceColorProfileURI, PageWatermarkTextColor, PageWatermarkTextText
实现
IPrintTicketItem, IPrintTicketElementChild
继承成员
PrintTicketElement.Name, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
构造函数
StringParameterInit(string, string)
创建一个新实例。
public StringParameterInit(string name, string value)
参数
name
string
参数名称。
value
string
参数值。
属性
MaxLength
对于字符串值,定义允许的最长字符串。
public virtual int MaxLength { get; }
属性值
MinLength
对于字符串值,定义允许的最短字符串。
public virtual int MinLength { get; }