Hi Matthew,
To clarify, you're looking to make the height and width larger than auto sizing to the text? The built-in activity can set x/y locations but you're right, it doesn't do sizing independent of supplied text.
To use the SDK, the property you are looking for is the coordinates property of the TextBoxAnnotation type.
DocumentInfo myDoc = Document.GetDocumentInfo(this.BoundEntryId, this.RASession);
PageInfo page = doc.GetPagesInfo(1); // getting page #1 of the document passed to the workflow script
TextBoxAnnotation myTBA = new TextBoxAnnotation();
myTBA.Text = "Text displayed in the annotation";
myTBA.Comment = "Appears in metadata pane describing the annotation";
myTBA.BorderColor = LfColor.TRANSPARENT;
myTBA.FillColor = LfColor.TRANSPARENT;
myTBA.TextSize = 12; // Size of the text within the annotation
myTBA.BorderThickness = 0; // Setting no border
LfSize mySize = new LfSize(100,30); // THIS sets the size of the annotation in pixels.
LfPoint myPoint = new LfPoint(300,200); // This is an x, y coordinate where it will position the annotation to the document. Referenced by the upper left corner of the annotation.
myTBA.Coordinates = new LfRectangle(myPoint, mySize); //Applies the annotation to the page according to specified size and positioned at the specified point
page.AddAnnotation(myTBA); //Adds the created annotation to the specified page from line2
Cheers,
Carl