C# Class ARUP.IssueTracker.Revit.AddIssueRevit

Interaction logic for AddIssueRevit.xaml
Inheritance: System.Windows.Window
Show file Open project: ArupAus/issue-tracker Class Usage Examples

Public Properties

Property Type Description
SelectedComponents List
snapshot string

Public Methods

Method Description
AddIssueRevit ( UIDocument uidoc2, string folder, ObservableCollection _typesCollection, List _assignees, ObservableCollection _compCollection, ObservableCollection _PrioritiesCollection, bool comp, bool prior, bool assign ) : System
ConvertBitmapTo96DPI ( BitmapImage bitmapImage ) : System.Windows.Media.Imaging.BitmapSource

Private Methods

Method Description
Button_Cancel ( object sender, RoutedEventArgs e ) : void
Button_LoadImage ( object sender, RoutedEventArgs e ) : void
Button_OK ( object sender, RoutedEventArgs e ) : void
ChangeAssign_OnClick ( object sender, RoutedEventArgs e ) : void
ChangeComponents_OnClick ( object sender, RoutedEventArgs e ) : void
CreateImage ( byte imageData, int decodePixelWidth, int decodePixelHeight ) : ImageSource
EditSnapshot_Click ( object sender, RoutedEventArgs e ) : void
GetEncodedImageData ( ImageSource image, string preferredFormat ) : byte[]
LoadImageData ( string filePath ) : byte[]
Refresh_Click ( object sender, RoutedEventArgs e ) : void
SaveImageData ( byte imageData, string filePath ) : void
comboVisuals_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
updateImage ( ) : void

Method Details

AddIssueRevit() public method

public AddIssueRevit ( UIDocument uidoc2, string folder, ObservableCollection _typesCollection, List _assignees, ObservableCollection _compCollection, ObservableCollection _PrioritiesCollection, bool comp, bool prior, bool assign ) : System
uidoc2 UIDocument
folder string
_typesCollection ObservableCollection
_assignees List
_compCollection ObservableCollection
_PrioritiesCollection ObservableCollection
comp bool
prior bool
assign bool
return System

ConvertBitmapTo96DPI() public static method

public static ConvertBitmapTo96DPI ( BitmapImage bitmapImage ) : System.Windows.Media.Imaging.BitmapSource
bitmapImage System.Windows.Media.Imaging.BitmapImage
return System.Windows.Media.Imaging.BitmapSource

Property Details

SelectedComponents public property

public List SelectedComponents
return List

snapshot public property

public string snapshot
return string