示例#1
0
 /// <summary>
 /// Constructs a new Image that can be added to a Page containing the
 /// image data in the given byte array.
 /// </summary>
 /// <param name="image">
 /// The byte array containing our image data.
 /// </param>
 public ImageObject(byte[] image)
 {
     Image = new ImageContent(image);
 }
示例#2
0
 /// <summary>
 /// Constructs a new Image that can be inserted into an Outline
 /// containing the data copied from the specified Image.
 /// </summary>
 /// <param name="clone">The <see cref="ImageContent"/> whose data is to be copied to
 /// the new Image.</param>
 public ImageContent(ImageContent clone)
 {
     ImageData = clone.ImageData;
 }
示例#3
0
 /// <summary>
 /// Constructs a new Image that can be added to a Page containing the
 /// image data in the specified file.
 /// </summary>
 /// <param name="file">
 /// The <see cref="FileInfo"/> containing our image data.
 /// </param>
 public ImageObject(FileInfo file)
 {
     Image = new ImageContent(file);
 }