Метод | Описание | |
---|---|---|
GetImage ( ) : |
Retrieves a BackgroundImage object containing the information downloaded from NASA regarding the current photo of the day
|
|
GetImage ( int selectedOffset, int selectedPage ) : |
Overloaded GetImage that allows the retrieval of previous images based on their position in the XML document provided from the nasa.gov website.
|
|
SetDesktopBackground ( string fileName ) : void |
Set the desktop to the current picture of the day Full file path to the image to set as the desktop background.
|
Метод | Описание | |
---|---|---|
GetCurrentScreenResolution ( ) : void |
Retrieves the user's current screen resolution to try and pick the image that will fit.
|
|
StripHtml ( string textToClean ) : string |
Removes HTML markup tags from the passed in string
|
|
SystemParametersInfo ( |
public GetImage ( int selectedOffset, int selectedPage ) : |
||
selectedOffset | int | Position of the image within the node list of images, 1 being the very first (newest) |
selectedPage | int | Page number to retrieve the page that contains the selected image. |
Результат |
public SetDesktopBackground ( string fileName ) : void | ||
fileName | string | |
Результат | void |