Example #1
0
 /// <summary>
 /// Return the URL for a matted print preview image.
 /// </summary>
 /// <param name="sWorkID">The ID of the work.</param>
 /// <param name="colour">The colour to use for the matte.</param>
 /// <returns>The URL of a matted print preview of the work.</returns>
 public static Uri MattedPrintPreviewURL( string sWorkID, MatteColour colour )
 {
     return WorkImageURL( sWorkID, ArtCropping.None, ArtSize.Small, ArtView.Preview,
         "product:" + RBEnums.ToURL( ArtProduct.MattedPrint ) + "/" +
         "mattecolor:" + RBEnums.ToURL( colour ) + "/" );
 }
Example #2
0
 /// <summary>
 /// Return the URL for a framed print preview image.
 /// </summary>
 /// <param name="sWorkID">The ID of the work.</param>
 /// <param name="frame">The colour of the frame.</param>
 /// <param name="matte">The colour of the matte.</param>
 /// <param name="size">The size of the framed print.</param>
 /// <returns>The URL of a framed print preview of the work.</returns>
 public static Uri FramedPrintPreviewURL( string sWorkID, FrameColour frame, MatteColour matte, ArtSize size )
 {
     return WorkImageURL( sWorkID, ArtCropping.None, size, ArtView.Preview,
         "product:" + RBEnums.ToURL( ArtProduct.FramedPrint ) + "/" +
         "framestyle:flat30/" +
         "framecolor:" + RBEnums.ToURL( frame ) + "/" +
         "mattecolor:" + RBEnums.ToURL( matte ) + "/" );
 }