IAutoShape
Panoramica
IAutoShape è un’interfaccia in Aspose.Slides FOSS per Java. Eredita da: IGeometryShape.
Rappresenta un AutoShape.
Questa interfaccia fornisce 49 metodi per lavorare con gli oggetti IAutoShape nei programmi Java. I metodi disponibili includono: addTextFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsIGeometryShape, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat e 37 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.Slides FOSS per Java. Proprietà: adjustments, alternativeText, alternativeTextTitle, asIGeometryShape, asISlideComponent, cNvPr e 28 in più.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
textFrame | ITextFrame | Lettura | Restituisce l’oggetto TextFrame per il AutoShape. |
textBox | boolean | Lettura | Specifica se la forma è una casella di testo. |
asIGeometryShape | IGeometryShape | Lettura | Consente di ottenere l’interfaccia base IGeometryShape. |
shapeStyle | IShapeStyle | Lettura | Restituisce l’oggetto stile della forma. |
adjustments | IAdjustValueCollection | Lettura | Ottiene la raccolta dei valori di regolazione della forma. |
textHolder | boolean | Lettura | Determina se la forma è un contenitore di testo. |
placeholder | IPlaceholder | Lettura | Restituisce il segnaposto per questa forma. |
customData | ICustomData | Lettura | Restituisce i dati personalizzati della forma. |
rawFrame | IShapeFrame | Lettura | Restituisce le proprietà grezze del frame della forma. |
frame | IShapeFrame | Lettura | Restituisce le proprietà del frame della forma. |
lineFormat | ILineFormat | Lettura | Restituisce il formato di linea per questa forma. |
threeDFormat | IThreeDFormat | Lettura | Restituisce il formato 3-D per questa forma. |
effectFormat | IEffectFormat | Lettura | Restituisce il formato dell’effetto per questa forma. |
fillFormat | IFillFormat | Lettura | Restituisce il formato di riempimento per questa forma. |
hidden | boolean | Lettura | Determina se la forma è nascosta. |
zOrderPosition | int | Lettura | Restituisce la posizione di una forma nell’ordine z-order. |
connectionSiteCount | int | Lettura | Restituisce il numero di punti di connessione sulla forma. |
rotation | double | Lettura | Restituisce l’angolo di rotazione della forma in gradi. |
x | double | Lettura | Ottiene la coordinata x dell’angolo superiore sinistro della forma, in punti. |
y | double | Lettura | Ottiene la coordinata y dell’angolo superiore sinistro della forma, in punti. |
width | double | Lettura | Restituisce la larghezza della forma, in punti. |
height | double | Lettura | Restituisce l’altezza della forma, in punti. |
alternativeText | String | Lettura | Restituisce o imposta il testo alternativo associato a una forma. |
alternativeTextTitle | String | Lettura | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
name | String | Lettura | Restituisce o imposta il nome di una forma. |
decorative | boolean | Lettura | Ottiene o imposta l’opzione Mark as decorative. |
uniqueId | int | Lettura | Restituisce un identificatore interno, a livello di presentazione. |
officeInteropShapeId | int | Lettura | Restituisce un identificatore univoco a livello di diapositiva che rimane costante per tutta la durata della forma. |
grouped | boolean | Lettura | Determina se la forma è raggruppata. |
asISlideComponent | ISlideComponent | Lettura | Consente di ottenere l’interfaccia base {@link ISlideComponent}. |
shapeType | ShapeType | Lettura | Ottiene il tipo AutoShape. |
cNvPr | Element | Lettura | Restituisce l’elemento {@code cNvPr} per questa forma, oppure {@code null}. |
slide | IBaseSlide | Lettura | Restituisce la diapositiva padre. |
presentation | IPresentation | Lettura | Restituisce la presentazione contenente questo componente. |
Metodi
| Firma | Descrizione |
|---|---|
getTextFrame() → ITextFrame | Restituisce l’oggetto TextFrame per il AutoShape. |
isTextBox() → boolean | Specifica se la forma è una casella di testo. |
getAsIGeometryShape() → IGeometryShape | Consente di ottenere l’interfaccia base IGeometryShape. |
addTextFrame(text: String) → ITextFrame | Aggiunge un nuovo riquadro di testo alla forma con il testo specificato. |
getShapeStyle() → IShapeStyle | Restituisce l’oggetto stile della forma. |
setShapeType(value: ShapeType) | Imposta il tipo AutoShape. |
getAdjustments() → IAdjustValueCollection | Ottiene la collezione dei valori di aggiustamento della forma. |
isTextHolder() → boolean | Determina se la shape è un contenitore di testo. |
getPlaceholder() → IPlaceholder | Restituisce il placeholder per questa shape. |
getCustomData() → ICustomData | Restituisce i dati personalizzati della shape. |
getRawFrame() → IShapeFrame | Restituisce le proprietà grezze del frame della forma. |
setRawFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma grezza. |
getFrame() → IShapeFrame | Restituisce le proprietà del frame della forma. |
setFrame(value: IShapeFrame) | Imposta le proprietà del frame della forma. |
getLineFormat() → ILineFormat | Restituisce il formato di linea per questa forma. |
getThreeDFormat() → IThreeDFormat | Restituisce il formato 3-D per questa forma. |
getEffectFormat() → IEffectFormat | Restituisce il formato dell’effetto per questa forma. |
getFillFormat() → IFillFormat | Restituisce il formato di riempimento per questa forma. |
isHidden() → boolean | Determina se la forma è nascosta. |
setHidden(value: boolean) | Imposta se la forma è nascosta. |
getZOrderPosition() → int | Restituisce la posizione di una forma nell’ordine Z. |
getConnectionSiteCount() → int | Restituisce il numero di punti di connessione sulla forma. |
getRotation() → double | Restituisce l’angolo di rotazione della forma in gradi. |
setRotation(rotation: double) | Imposta l’angolo di rotazione della forma in gradi. |
getX() → double | Restituisce la coordinata x dell’angolo superiore sinistro della forma, in punti. |
setX(x: double) | Imposta la coordinata x dell’angolo superiore sinistro della forma, in punti. |
getY() → double | Restituisce la coordinata y dell’angolo superiore sinistro della forma, in punti. |
setY(y: double) | Imposta la coordinata y dell’angolo superiore sinistro della forma, in punti. |
getWidth() → double | Ottiene la larghezza della forma, in punti. |
setWidth(width: double) | Imposta la larghezza della forma, in punti. |
getHeight() → double | Ottiene l’altezza della forma, in punti. |
setHeight(height: double) | Imposta l’altezza della forma, in punti. |
getAlternativeText() → String | Restituisce o imposta il testo alternativo associato a una forma. |
setAlternativeText(value: String) | Imposta il testo alternativo associato a una forma. |
getAlternativeTextTitle() → String | Restituisce o imposta il titolo del testo alternativo associato a una forma. |
setAlternativeTextTitle(value: String) | Imposta il titolo del testo alternativo associato a una forma. |
getName() → String | Restituisce o imposta il nome di una forma. |
setName(value: String) | Imposta il nome di una forma. |
isDecorative() → boolean | Ottiene o imposta l’opzione Mark as decorative. |
setDecorative(value: boolean) | Imposta l’opzione ‘Mark as decorative’. |
getUniqueId() → int | Restituisce un identificatore interno limitato all’ambito della presentazione. |
getOfficeInteropShapeId() → int | Restituisce un identificatore univoco a livello di diapositiva che rimane costante per tutta la durata della forma. |
isGrouped() → boolean | Determina se la forma è raggruppata. |
getAsISlideComponent() → ISlideComponent | Consente di ottenere l’interfaccia base {@link ISlideComponent}. |
getShapeType() → ShapeType | Ottiene il tipo AutoShape. |
getCNvPr() → Element | Restituisce l’elemento {@code cNvPr} per questa forma, oppure {@code null}. |
getSlide() → IBaseSlide | Restituisce la diapositiva genitore. |
asIPresentationComponent() → IPresentationComponent | Restituisce l’interfaccia {@link IPresentationComponent} di base. |
getPresentation() → IPresentation | Restituisce la presentazione che contiene questo componente. |