Gets or sets the object to use when filling the interior of this AnnContainer.
Object.defineProperty(AnnContainer.prototype, 'fill',get: function(),set: function(value))
fill: AnnBrush; The object to use when filling the interior of this AnnContainer. The default value is null.
A value of null means do not fill the background of the container.
This example will give the container a blue border with thickness of 2 and a semi-transparent brush.
example: function SiteLibrary_DefaultPage$example() {// Get the container in the automation objectvar container = this._automation.get_container();// Add a blue bordercontainer.set_stroke(lt.Annotations.Core.AnnStroke.create(lt.Annotations.Core.AnnSolidColorBrush.create("blue"), lt.LeadLengthD.create(2)));// Add semi transparent black backgroundcontainer.set_fill(lt.Annotations.Core.AnnSolidColorBrush.create("rgba(0, 0, 0, 0.5)"));// Show itthis._automation.invalidate(lt.LeadRectD.get_empty());},
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
