예제 #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);
 }